A Unification of Probablilistic Choice within a Design-based Model of Reversible Computation University of Teesside Formal Methods and Programming Research Group
نویسندگان
چکیده
We see reversible computing as a generalisation of sequential computation obtained by revoking the law of the excluded miracle. Our execution language includes naked guarded commands and non-deterministic choice. Choices which lead to miraculous continuations invoke reverse computation, and non-deterministic choice plays the rôle of provisional choice within a backtracking context. We require probabilistic choice for symmetry breaking and sampling large search spaces, but must formulate it differently from previous approaches to obtain the required interactions between probabilistic choice and non-deterministic choice and between probabilistic choice and feasibility. Our formulation allows us to derive the post-distributions which characterise a program, and we use these to construct a relational model. We consider refinement as containment of convex closures within distribution space, qualified with additional conditions to avoid over-refinement. We link the non-probabilistic and probabilistic versions of the model with a Galois connection and show that classical designs are a retract of our probabilistic designs. We consider the interaction between probabilistic and non-deterministic choice and find the same initially counter-intuitive results that have been noted by other investigators. We provide an alternative formulation, within the same model, of oblivious non-determinism, which allows all non-deterministic choices to be moved to the start of a computation. We consider the interaction between probabilistic choice and feasibility that is required to match an operational interpretation in which infeasible commands provoke reverse execution, and we present a small case study to show how the interaction between probabilistic choice and feasibility can be exploited in a practical program. All programming structures described here are supported by our implementation platform, the Reversible Virtual Machine, whose development has accompanied our theoretical investigations. This technical report is a working document. A peer reviewed version of this work has been accepted for publication in the Formal Aspects of Computing Special Issue on Unifying Theories of Programming.
منابع مشابه
Investigating The Effect of Teaching “Philosophy of Formal and Public Education” in Farhangian University within the scaffolding of Leadership and Management Education Model on Students’ Learning and Academic Achievement
The study performed to investigate the effect of teaching the course of Formal and Public Education Philosophy (FPEP) within the scaffolding of Leadership and Management Education Model (LMEM) on university students’ learning and academic achievement at Farhangian University (UT) using quasi-experimental method with two-groups pre-test and post-test design with control group. The statistical po...
متن کاملInvestigating The Effect of Teaching “Philosophy of Formal and Public Education” in Farhangian University within the scaffolding of Leadership and Management Education Model on Students’ Learning and Academic Achievement
The study performed to investigate the effect of teaching the course of Formal and Public Education Philosophy (FPEP) within the scaffolding of Leadership and Management Education Model (LMEM) on university students’ learning and academic achievement at Farhangian University (UT) using quasi-experimental method with two-groups pre-test and post-test design with control group. The statistical po...
متن کاملRobust Design of Dynamic Cell Formation Problem Considering the Workers Interest
To enhance agility and quick responding to customers' demand, manufacturing processes are rearrenged according to different systems. The efficient execution of a manufacturing system depends on various factors. Among them, cell design and human issue are the pivotal ones. The proposed model designs cellular manufacturing systems using three objective functions from three different perspectives,...
متن کاملA Design-Based Model of Reversible Computation
We investigate, within the UTP framework of designs, the effect of seeing computation as an essentially reversible process. We describe the theoretical link between reversibility and the minimum power requirements of a computation, and we review Zuliani’s work on Reversible pGCL which brings reversible computing within the scope of formal software development. We propose an alternative formalis...
متن کاملA New Nonlinear Multi-objective Redundancy Allocation Model with the Choice of Redundancy Strategy Solved by the Compromise Programming Approach
One of the primary concerns in any system design problem is to prepare a highly reliable system with minimum cost. One way to increase the reliability of systems is to use redundancy in different forms such as active or standby. In this paper, a new nonlinear multi- objective integer programming model with the choice of redundancy strategy and component type is developed where standby strategy ...
متن کامل